import { combineReducers } from "redux";
import counterReducer from "./counterReducer";
import login from "./login";
import auth from "./auth";
import article from "./article";
import signup from "./signup";
import ask from "./ask";

const rootReducer = combineReducers({
  counter: counterReducer,
  signup,
  login,
  auth,
  articleList: article.list,
  articlePublish: article.publish,
  askList: ask.list,
  askDetail: ask.detail,
  askPublish: ask.publish,
  askEdit: ask.edit,
});

export default rootReducer;
